package com.ruoyi.teaching.mapper;

import java.util.List;
import com.ruoyi.teaching.domain.TeachingTrace;

/**
 * 教学跟踪Mapper接口
 * 
 * @author ruoyi
 * @date 2024-03-23
 */
public interface TeachingTraceMapper 
{
    /**
     * 查询教学跟踪
     * 
     * @param id 教学跟踪主键
     * @return 教学跟踪
     */
    public TeachingTrace selectTeachingTraceById(Long id);

    /**
     * 查询教学跟踪列表
     * 
     * @param teachingTrace 教学跟踪
     * @return 教学跟踪集合
     */
    public List<TeachingTrace> selectTeachingTraceList(TeachingTrace teachingTrace);

    /**
     * 新增教学跟踪
     * 
     * @param teachingTrace 教学跟踪
     * @return 结果
     */
    public int insertTeachingTrace(TeachingTrace teachingTrace);

    /**
     * 修改教学跟踪
     * 
     * @param teachingTrace 教学跟踪
     * @return 结果
     */
    public int updateTeachingTrace(TeachingTrace teachingTrace);

    /**
     * 删除教学跟踪
     * 
     * @param id 教学跟踪主键
     * @return 结果
     */
    public int deleteTeachingTraceById(Long id);

    /**
     * 批量删除教学跟踪
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTeachingTraceByIds(Long[] ids);

    List<TeachingTrace> selectTeachingTraceByStudentId(Long studentId);

    List<TeachingTrace> selectTeachingTraceByStudentIds(List<Long> focusStudentIds);
}
